Trò chơi Tic-Tac-Toe, game đánh caro full source code
2 // <summary>The Photon Chat Api enables clients to connect to a chat server and communicate with other clients.</summary>
3 // <remarks>ChatClient is the main class of this api.</remarks>
4 // <copyright company="Exit Games GmbH">Photon Chat Api - Copyright (C) 2014 Exit Games GmbH</copyright>
5 // ----------------------------------------------------------------------------------------------------------------------
6
7 namespace ExitGames.Client.Photon.Chat
8 {
9 /// <summary>Contains commonly used status values for SetOnlineStatus. You can define your own.</summary>
10 /// <remarks>
11 /// While "online" (value 2 and up), the status message will be sent to anyone who has you on his friend list.
12 ///
13 /// Define custom online status values as you like with these rules:
14 /// 0: Means "offline". It will be used when you are not connected. In this status, there is no status message.
15 /// 1: Means "invisible" and is sent to friends as "offline". They see status 0, no message but you can chat.
16 /// 2: And any higher value will be treated as "online". Status can be set.
17 /// </remarks>
18 public static class ChatUserStatus
19 {
20 /// <summary>(0) Offline.</summary>
21 public const int Offline = 0;
22 /// <summary>(1) Be invisible to everyone. Sends no message.</summary>
23 public const int Invisible = 1;
24 /// <summary>(2) Online and available.</summary>
25 public const int Online = 2;
26 /// <summary>(3) Online but not available.</summary>
27 public const int Away = 3;
28 /// <summary>(4) Do not disturb.</summary>
29 public const int DND = 4;
30 /// <summary>(5) Looking For Game/Group. Could be used when you want to be invited or do matchmaking.</summary>
31 public const int LFG = 5;
32 /// <summary>(6) Could be used when in a room, playing.</summary>
33 public const int Playing = 6;
34 }
35 }
----------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------
While "online" (value 2 and up), the status message will be sent to anyone who has you on his friend list.
Define custom online status values as you like with these rules:
0: Means "offline". It will be used when you are not connected. In this status, there is no status message.
1: Means "invisible" and is sent to friends as "offline". They see status 0, no message but you can chat.
2: And any higher value will be treated as "online". Status can be set.